package com.douqu.game.core.factory;

/**
 * Created by bean on 2017/7/14.
 */
public class ConstantFactory {

    public final static int ZERO = 0;

    public final static String AUTH_SERVER_HTTP_BASE = "http://127.0.0.1:8888/";

    public final static String TASK_EXECUTOR_NAME = "taskExecutor";
    public final static String KEY_OF_TOKEN = "com.douqu.game.slg";
    public final static int TOKEN_LIFE_TIME = 30 * 60;

    public final static String LANGUAGE_CHINESE = "Chinese";
    public final static String LANGUAGE_CHINESETRADITIONAL = "ChineseTraditional";
    public final static String LANGUAGE_ENGLISH = "English";


    /** 分号 */
    public final static String SEMICOLON = ";";
    /** 竖线 */
    public final static String DIVISION = "\\|";
    /** 表格 */
    public final static String TABLE = "\t";
    /** 换行 */
    public final static String LINE = "\n";
    /** 忽略 */
    public final static String IGNORE = "ignore";


    public final static String ATTRIBUTE_HP = "hp";


    /**
     * 品质配置
     */
    public final static int QUALITY_WHITE = 1; //普通 白
    public final static int QUALITY_BLUE = 2; //稀有 蓝
    public final static int QUALITY_PURPLE = 3; //史诗 紫
    public final static int QUALITY_ORANGE = 4; //传说 橙


    /**
     * 单位类型
     */
    public final static int UNIT_TYPE_LAND = 1;//地面
    public final static int UNIT_TYPE_AIR  = 2;//空中
    public final static int UNIT_TYPE_ALL  = 3;//所有


    /**
     * 目标范围类型
     */
    public final static int TARGET_TYPE_ENEMY   = 1;//敌方
    public final static int TARGET_TYPE_PARTNER = 2;//友方
    public final static int TARGET_TYPE_ALL     = 3;//全体
    public final static int TARGET_TYPE_SELF    = 4;//自己


    /**
     * 技能类型
     */
    public final static int SKILL_TYPE_MASTER  = 1;//主将-英雄技能
    public final static int SKILL_TYPE_BORN    = 2;//兵种-出场技能
    public final static int SKILL_TYPE_DIE     = 3;//兵种-死亡技能
    public final static int SKILL_TYPE_CD      = 4;//兵种-周期技能
    public final static int SKILL_TYPE_DEFAULT = 5;//兵种-普攻技能


    /**
     * 技能作用范围
     */
    public final static int RANGE_TYPE_CIRCLE            = 1;//圆形
    public final static int RANGE_TYPE_RECTANGLE         = 2;//矩形
    public final static int RANGE_TYPE_SINGLE_LOCK       = 3;//单体锁
    public final static int RANGE_TYPE_GROUP_CIRCLE_LOCK = 4;//群体圆形锁


    /**
     * 攻击类型
     */
    public final static int ATK_TYPE_PHYSICS  = 1;//物理攻击
    public final static int ATK_TYPE_PUNCTURE = 2;//穿刺攻击
    public final static int ATK_TYPE_MAGIC    = 3;//魔法攻击
    public final static int ATK_TYPE_HERO     = 4;//英雄攻击

    /**
     * 防御类型
     */
    public final static int DEF_TYPE_PHYSICS  = 1;//物理防御
    public final static int DEF_TYPE_PUNCTURE = 2;//穿刺防御
    public final static int DEF_TYPE_MAGIC    = 3;//魔法防御
    public final static int DEF_TYPE_HERO     = 4;//英雄防御

    /**
     * 攻防类型
     */
    public final static int AD_TYPE_PHYSICS  = 1;//物理
    public final static int AD_TYPE_PUNCTURE = 2;//穿刺
    public final static int AD_TYPE_MAGIC    = 3;//魔法
    public final static int AD_TYPE_HERO     = 4;//英雄


    /**
     * 效果类型
     */
    public final static int EFFECT_TYPE_HP_SUB_PHY_ATK     = 1;//调用物理攻击进行伤害
    public final static int EFFECT_TYPE_HP_SUB_PUN_ATK     = 2;//调用穿刺攻击进行伤害
    public final static int EFFECT_TYPE_HP_SUB_MAG_ATK     = 3;//调用魔法攻击进行伤害
    public final static int EFFECT_TYPE_HP_ADD             = 4;//加血


    /**
     * 评星标准
     */
    public final static int STAR_TYPE_BATTLE_TIME = 1;//通关时间
    public final static int STAR_TYPE_HP_RATE     = 2;//主将剩余血量%
    public final static int STAR_TYPE_RACE_ID     = 3;//指定种族
    public final static int STAR_TYPE_KILL_COUNT  = 4;//击杀数量


}
